package com.ikun.common.validate.validator;

import sun.reflect.annotation.AnnotationType;

import java.lang.reflect.Field;

/**
 * 校验接口
 */
public interface Validate {

    AnnotationType getAnnotationType();

    boolean validate(Field field, Object object);
}
